﻿using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories;

namespace Puppy.ActorDb
{
    public interface IActorDbRepository<TEntity> : IRepository<TEntity>
        where TEntity : class, IEntity
    {
        Task<IActorDatabase> GetDatabaseAsync();

        Task<IActorSet<TEntity>> GetCollectionAsync();
    }

    public interface IActorDbRepository<TEntity, TKey> : IActorDbRepository<TEntity>, IRepository<TEntity, TKey>
        where TEntity : class, IEntity<TKey>
    {

    }
}
